package com.qunji.cpsdistribution.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author sjq
 * @since 2020-07-23
 */
public class PaymentType extends Model<PaymentType> {

    private static final long serialVersionUID = 1L;

    /**
     * 支付类型id
     */
    @TableId(value = "payment_id", type = IdType.AUTO)
    private Long paymentId;
    /**
     * 支付类型名称
     */
    private String paymentName;
    /**
     * 支付类型账号
     */
    private String paymentNumber;
    /**
     * 创建时间
     */
    private Date createTime;


    public Long getPaymentId() {
        return paymentId;
    }

    public void setPaymentId(Long paymentId) {
        this.paymentId = paymentId;
    }

    public String getPaymentName() {
        return paymentName;
    }

    public void setPaymentName(String paymentName) {
        this.paymentName = paymentName;
    }

    public String getPaymentNumber() {
        return paymentNumber;
    }

    public void setPaymentNumber(String paymentNumber) {
        this.paymentNumber = paymentNumber;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    protected Serializable pkVal() {
        return this.paymentId;
    }

    @Override
    public String toString() {
        return "PaymentType{" +
        ", paymentId=" + paymentId +
        ", paymentName=" + paymentName +
        ", paymentNumber=" + paymentNumber +
        ", createTime=" + createTime +
        "}";
    }
}
